<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<link type="text/css" rel="stylesheet" href="/src/resources/css/base.css" >
<script charset="utf-8" src="/src/core/require-jquery.js"></script>
<script src="/demo/baseUrl.js"></script>

<style type="text/css">
.aBox{width:50px;height:50px;border:1px solid #ccc;}
</style>
</head>
<body>
<script>
jQuery(function(){
	require(['plugins/tiny_mce3.5.7/jscripts/tiny_mce'],function(){
		
		tinyMCE.init({
			// General options
			mode : "exact",
			elements: "tyArea",
			theme : "advanced",
			language:"zh-cn",
			plugins : "table,autoresize,contextmenu,media,preview,inlinepopups,paste,fullscreen",
			theme_advanced_buttons1 : "bold,italic,underline,justifyleft,justifycenter,justifyright,bullist,numlist,|,outdent,indent,fontselect,fontsizeselect,forecolor,backcolor,removeformat,link,unlink,table,fullscreen,preview",
			
			theme_advanced_buttons2:"undo,redo,charmap,hr,media,inlinepopups,pasteword,code",
			
			table_default_border: 1,
			relative_urls : false,
	        remove_script_host : false,
			autoresize_min_height:350,
			autoresize_max_height:1000,
			theme_advanced_fonts:'宋体=SimSun;黑体=SimHei;隶书=LiSu;楷体=KaiTi_GB2312;微软雅黑=Microsoft YaHei;' +  
				'Georgia=Georgia;Times New Roman=Times New Roman;Impact=Impact;Courier New=Courier New;' +
				'Arial=Arial;Verdana=Verdana;Tahoma=Tahoma;',
			font_size_style_values:"8px,10px,12px,14px,18px,24px,36px",
			theme_advanced_font_sizes : "极小(8px)=8px,较小(10px)=10px,小(12px)=12px,普通(14px)=14px,大(18px)=18px,较大(24px)=24px,极大(36px)=36px"
			
		});
	});
	
});
</script>
<h1>Uploadify Demo</h1>
<form>
	<div id="queue"></div>
	<!-- input id="file_upload" name="file_upload" type="file" multiple="true" -->
	<div style="position:relative;">
		<div id="file_upload"></div>
	</div>
</form>
	
<h3>测试</h3>
<textarea id="tyArea" style="width:400px;height:200px;"></textarea>
<a href="#"  id="testa">链接</a>
<div class="aBox"></div>
<input id="inputName" type="input" value="shawn1" />
<input id="inputValue" type="input" value="100" />
<input id="set" type="button" value="设置"/>
<input id="read" type="button" value="读取"/>
<input id="del" type="button" value="删除"/>
<div style="border:1px solid #ccc;width:800px;height:160px;">
<div id="bBox" ></div>
</div>
<textarea id="output" style="width:600px;"></textarea><input style="width:50px" id="box" type="input" value=""/>
</body>
</html>